#============================================================
#	GroundEnemyStateBlackboard
#============================================================
# @datetime: 2022-4-22 11:23:50
#============================================================
class_name GroundEnemyStateBlackboard
extends EnemyBlackboard


const States = {
	IDLE = "GroundEnemyIdle", 
	MOVE = "GroundEnemyMove", 
	ATTACK = "GroundEnemyAttack", 
	LOOK_AROUND = "GroundEnemyLookAround",
}


#============================================================
#   Set/Get
#============================================================
func get_layer() -> GroundEnemyTypeLayer:
	return owner.type_layer as GroundEnemyTypeLayer

func get_canvas() -> EnemyCanvas:
	return get_host().type_layer.canvas

func get_collision() -> EnemyCollision:
	return get_host().type_layer.collision

func get_controller() -> GroundEnemyController:
	return get_type_layer().controller as GroundEnemyController





